// 一般用于 tag 标签样式
export const statusMapTag = (status: number | string): 'success' | 'error'  => {
    const Map: any = {
        1101: 'success',
        1102: 'error'
    }
    return Map[status]
}

// 用于tag 标签文本
export const statusMapText = (status: number | string): string=> {
    const Map: any = {
        1101: '启用',
        1102: '禁用'
    }
    return Map[status]
}


